package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractViewAllFactory
{
    private ContractViewAllFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IContractViewAll getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IContractViewAll)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("11D95255") ,com.kingdee.eas.minghua.contract.IContractViewAll.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IContractViewAll getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IContractViewAll)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("11D95255") ,com.kingdee.eas.minghua.contract.IContractViewAll.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IContractViewAll getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IContractViewAll)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("11D95255"));
    }
    public static com.kingdee.eas.minghua.contract.IContractViewAll getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IContractViewAll)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("11D95255"));
    }
}